
num = 123 + 456j
print(num.real, num.imag)

num = 123.36E45
print(num, type(num))

# 0.30000000000000004
num = 0.1 + 0.2
print(num)

# 保留一位小数
print(round(num, 1))

